+Mon Oct 13 20:21:38 2003 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtkentry.c (gtk_entry_set_text): I overlooked an if when
+ I was adding the signal block/unblock code. Oops. (Noticed by
+ Marco Pesenti Gritti).
+
Mon Oct 13 20:21:55 2003 Kristian Rietveld <kris@gtk.org>
* demos/testpixbuf-scale.c: enable GTK_DISABLE_DEPRECATED again,
+Mon Oct 13 20:21:38 2003 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtkentry.c (gtk_entry_set_text): I overlooked an if when
+ I was adding the signal block/unblock code. Oops. (Noticed by
+ Marco Pesenti Gritti).
+
Mon Oct 13 20:21:55 2003 Kristian Rietveld <kris@gtk.org>
* demos/testpixbuf-scale.c: enable GTK_DISABLE_DEPRECATED again,
+Mon Oct 13 20:21:38 2003 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtkentry.c (gtk_entry_set_text): I overlooked an if when
+ I was adding the signal block/unblock code. Oops. (Noticed by
+ Marco Pesenti Gritti).
+
Mon Oct 13 20:21:55 2003 Kristian Rietveld <kris@gtk.org>
* demos/testpixbuf-scale.c: enable GTK_DISABLE_DEPRECATED again,
+Mon Oct 13 20:21:38 2003 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtkentry.c (gtk_entry_set_text): I overlooked an if when
+ I was adding the signal block/unblock code. Oops. (Noticed by
+ Marco Pesenti Gritti).
+
Mon Oct 13 20:21:55 2003 Kristian Rietveld <kris@gtk.org>
* demos/testpixbuf-scale.c: enable GTK_DISABLE_DEPRECATED again,
+Mon Oct 13 20:21:38 2003 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtkentry.c (gtk_entry_set_text): I overlooked an if when
+ I was adding the signal block/unblock code. Oops. (Noticed by
+ Marco Pesenti Gritti).
+
Mon Oct 13 20:21:55 2003 Kristian Rietveld <kris@gtk.org>
* demos/testpixbuf-scale.c: enable GTK_DISABLE_DEPRECATED again,
g_return_if_fail (GTK_IS_ENTRY (entry));
g_return_if_fail (text != NULL);
- completion = gtk_entry_get_completion (entry);
- if (completion)
- g_signal_handler_block (entry, completion->priv->changed_id);
-
/* Actually setting the text will affect the cursor and selection;
* if the contents don't actually change, this will look odd to the user.
*/
if (strcmp (entry->text, text) == 0)
return;
+ completion = gtk_entry_get_completion (entry);
+ if (completion)
+ g_signal_handler_block (entry, completion->priv->changed_id);
+
gtk_editable_delete_text (GTK_EDITABLE (entry), 0, -1);
tmp_pos = 0;